Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Fri, 10 Apr 2026 10:59:14 +0000 (22:59 +1200)
committerVladimir Petko <vladimir.petko@canonical.com>
Fri, 10 Apr 2026 10:59:14 +0000 (22:59 +1200)
commit32d7086b7b4ccf06a2ff59ec7b7bc23e6490fb28
treed480aa22555cbe4f9ba6ef3674a332f18f03adad
parent3294dd90ed9848f1ae0df1cd0c355aa320539eb4
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp